package com.jiezhuo.mapper.center;

import com.jiezhuo.entity.cmeduSchool.JzgNewMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author com.jiezhuo
 * @since 2024-06-05
 */
public interface JzgNewMenuMapper extends BaseMapper<JzgNewMenu> {

    ArrayList<JzgNewMenu> getMenuTree(@Param("userId") String userId);

    ArrayList<HashMap<String ,Object>> getUserPermissionInfo(@Param("schoolCode")String userId);

    HashMap<String,Object> getuserInfo(@Param("userId")String userId);

    ArrayList<HashMap<String ,Object>> getUserPermissionAll();
}
